<template>
  <!--地图-->
    <div>
      <map-comm :dataList="dataList" :icon-marker="icon" :icon-navg="icon"></map-comm>
    </div>
</template>

<script>
    import icon from  '../../assets/images/image/timg.jpg'
    import MapComm from "../../components/visual/mapComm";
    export default {
      name: "toolMap",
      components: {MapComm},
      data(){
        return{
          icon:icon,
          dataList:[
            {position:[116.303843, 39.983412],title:'北京'},
            {position:[116.321354, 39.896436],title:'北京2'},
            {position:[116.407012, 39.992093],title:'北京3'},
            {position:[116.407112, 37.992093],title:'北京4'},
            {position:[116.407212, 36.992093],title:'北京5'},
          ],
        }
      },
    }
</script>

<style scoped>
  div{
    height: 800px;
  }
</style>
